//
//  SportDetailReportModel.h
//  CoolTennisBall
//
//  Created by 谢伟康 on 16/1/7.
//  Copyright © 2016年 CoolLang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SportDetailReportModel : NSObject

@property (assign,nonatomic) NSInteger pingJiCount;
@property (assign,nonatomic) NSInteger xuanQiuCount;
@property (assign,nonatomic) NSInteger xueQiuCount;
@property (assign,nonatomic) NSInteger jieJiCount;
@property (assign,nonatomic) NSInteger kouShaCount;
@property (assign,nonatomic) NSInteger faQiuCount;

@property (assign,nonatomic) NSInteger calories;
@property (assign,nonatomic) NSInteger maxSpeed;
@property (assign,nonatomic) NSInteger totalScore;
@property (strong,nonatomic) NSString *userId;
@property (strong,nonatomic) NSString *dateString;

@property (assign,nonatomic) CGFloat speedPercent;
@property (assign,nonatomic) CGFloat durationPercent;
@property (assign,nonatomic) CGFloat hitPercent;
@property (assign,nonatomic) NSInteger effectiveSportTime;
@property (nonatomic, assign) NSInteger forehandPercent;
@property (nonatomic, assign) NSInteger backhandPercent;

@property (strong,nonatomic) NSMutableArray *detailDesArray;
@property (nonatomic, strong, readonly) NSMutableArray *avgTypeSpeeds;
@property (nonatomic, strong, readonly) NSMutableArray *maxTypeSpeeds;

- (void)configureModelWithDic:(NSDictionary *)dic;
- (NSString *)configureSportStyle;
- (NSInteger)amountOfCount; // 击球个数
/**
 *  爆发力描述
 *
 *  @return 爆发力描述
 */
- (NSString *)powerScoreDescription;

/**
 *  耐久力描述
 *
 *  @return 耐久力描述
 */
- (NSString *)enduranceScoreDescription;

/**
 *  运动强度描述
 *
 *  @return 运动强度描述
 */
- (NSString *)intensityScoreDescription;


@end

@interface SportDetailSpeedItem : NSObject
@property (nonatomic, copy) NSString *forehandSpeed;
@property (nonatomic, copy) NSString *backhandSpeed;

- (instancetype)initWithForehandSpeed:(NSString *)forehandSpeed
                        backhandSpeed:(NSString *)backhandSpeed;

@end
